<style>
    h1 {
        font-size: 16px;
    }
    font {
        font-size: 14px;
    }
</style>
<div style=" border:1px solid #DDDDDD; padding:2px; margin:12px 2px 2px 22px;line-height: 36px;" id='sel'> 
    <form action="/admini/manageadmin/analyze4px" method="post" enctype="multipart/form-data">
        <label for="quick" style="margin-left: 10px;">转单号CSV：</label><input type="file" id="agentFile" name="agentFile" value="" />
        <label for="quick" style="margin-left: 10px;">成本价CSV：</label><input type="file" id="moneyFile" name="moneyFile" value="" />
        <input type="submit" id="analyzeAgent" name="analyzeAgent" value="解析"/>
    </form>
</div>
<div style="padding:2px; margin:12px 2px 2px 22px;width: 90%;" > 
    <div id="agentResult" style="width: 60%;float: left;">
        <?php echo $this->agentMessage;?>
    </div>
    <div id="moneyResult" style="width: 40%;float: left;">
        <?php echo $this->moneyMessage;?>
    </div>
</div>
<script>
    $("#analyzeAgent").click(function(){
        var agentFile = $("#agentFile").val();
        var moneyFile = $("#moneyFile").val();
        if(agentFile == "" && moneyFile == ""){
            alert("请上传需要解析的Excel文件");
            return false;
        }
    });
</script>